import request from '@/utils/request'

//设备统计
export function getDataStatistics(query: any) {
  return request.get('/dataStatistics', query)
}
// 设备实时状态
export function getDeviceList(query: any) {
  return request.get('/deviceList', query)
}
// 滤芯状态监控
export function getChipStatistics(query: any) {
  return request.get('/chipStatistics', query)
}
// 设备安装分布
export function getDeviceDistribution(query: any) {
  return request.get('/deviceDistribution', query)
}
// 近30天用水量趋势
export function getFlowRecords(query: any) {
  return request.get('/flowRecords', query)
}
// 饮水机进水水质分布(TDS)
export function getProjectContract(query: any) {
  return request.get('/originTdsRange', query)
}
// 安装记录
export function getActiveRecord(query: any) {
  return request.get('/activeRecord', query)
}
// 换芯记录&消息提醒
export function getRecordChipAndNotice(query: any) {
  return request.get('/recordChipAndNotice', query)
}